package tk.mybatis.springboot.listener;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;

import tk.mybatis.springboot.share.util.SystemUtils;

public class ContextListener implements ApplicationListener<ContextRefreshedEvent>{
	@Override
	public void onApplicationEvent(ContextRefreshedEvent arg0) {
		//加载容器上下文
  		SystemUtils.getSystemUtils().servletContextInit();
	}
}
